package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 商圈会员实体类<br>
 * 对应的表为：mem_district_member<br>
 * 
 * @author pbuilder generated
 * @date 2019-07-09 15:00:49
 * @company sgy
 * @version 2.0
 */
@TableName("mem_district_member")
@ApiModel(description = "商圈会员")
public class DistrictMemberEntity {

    /**  */
	protected String id;

    /** 商圈ID */
	@ApiModelProperty("商圈ID")
	protected String busdId;

    /** 会员ID */
	@ApiModelProperty("会员ID")
	protected String memberId;

    /** 会员积分 */
	@ApiModelProperty("会员积分")
	protected Integer memPoints;

    /** 线下累计积分 */
	@ApiModelProperty("线下累计积分")
	protected Integer cumulativePoints;

    /** 线上累计积分 */
	@ApiModelProperty("线上累计积分")
	protected Integer onlinePoints;

    /** 总积分 */
	@ApiModelProperty("总积分")
	protected Integer totalPoints;


    /** 会员等级 */
	@ApiModelProperty("会员等级")
	protected String memLevel;

    /** 等级有效期开始时间 */
	@ApiModelProperty("等级有效期开始时间")
	protected LocalDateTime validityBeginTime;

    /** 等级有效期结束时间 */
	@ApiModelProperty("等级有效期结束时间")
	protected LocalDateTime validityEndTime;

    /** 累积签到天数 */
	@ApiModelProperty("累积签到天数")
	protected Integer signday;

    /** 粉丝数 */
	@ApiModelProperty("粉丝数")
	protected Integer fansNum;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected LocalDateTime modifiedTime;

    /** 版本号 */
	@ApiModelProperty("版本号")
	protected Integer version;

	/**
	 * 构造一个空商圈会员实体对象
	 */
	public DistrictMemberEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商圈会员实体对象
	 * 
	 * @param other 其它对象
	 */
	public DistrictMemberEntity(DistrictMemberEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.memberId = other.memberId;
     	this.memPoints = other.memPoints;
     	this.cumulativePoints = other.cumulativePoints;
     	this.onlinePoints = other.onlinePoints;
     	this.totalPoints = other.totalPoints;
     	this.memLevel = other.memLevel;
     	this.validityBeginTime = other.validityBeginTime;
     	this.validityEndTime = other.validityEndTime;
     	this.signday = other.signday;
     	this.fansNum = other.fansNum;
     	this.createdTime = other.createdTime;
     	this.modifiedTime = other.modifiedTime;
     	this.version = other.version;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈ID
	 * 
	 * @return busdId 商圈ID
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈ID
	 * 
	 * @param busdId 商圈ID
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取会员ID
	 * 
	 * @return memberId 会员ID
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取会员积分
	 * 
	 * @return memPoints 会员积分
	 */
	public Integer getMemPoints() {
		return memPoints;
	}
  	
	/**
	 * 设置会员积分
	 * 
	 * @param memPoints 会员积分
	 */
	public void setMemPoints(Integer memPoints) {
		this.memPoints = memPoints;
	}

	/**
	 * 获取线下累计积分
	 * 
	 * @return cumulativePoints 线下累计积分
	 */
	public Integer getCumulativePoints() {
		return cumulativePoints;
	}
  	
	/**
	 * 设置线下累计积分
	 * 
	 * @param cumulativePoints 线下累计积分
	 */
	public void setCumulativePoints(Integer cumulativePoints) {
		this.cumulativePoints = cumulativePoints;
	}

	/**
	 * 获取线上累计积分
	 * 
	 * @return onlinePoints 线上累计积分
	 */
	public Integer getOnlinePoints() {
		return onlinePoints;
	}
  	
	/**
	 * 设置线上累计积分
	 * 
	 * @param onlinePoints 线上累计积分
	 */
	public void setOnlinePoints(Integer onlinePoints) {
		this.onlinePoints = onlinePoints;
	}

	/**
	 * 获取总积分
	 * 
	 * @return totalPoints 总积分
	 */
	public Integer getTotalPoints() {
		return totalPoints;
	}
  	
	/**
	 * 设置总积分
	 * 
	 * @param totalPoints 总积分
	 */
	public void setTotalPoints(Integer totalPoints) {
		this.totalPoints = totalPoints;
	}
	/**
	 * 获取会员等级
	 * 
	 * @return memLevel 会员等级
	 */
	public String getMemLevel() {
		return memLevel;
	}
  	
	/**
	 * 设置会员等级
	 * 
	 * @param memLevel 会员等级
	 */
	public void setMemLevel(String memLevel) {
		this.memLevel = memLevel;
	}

	/**
	 * 获取等级有效期开始时间
	 * 
	 * @return validityBeginTime 等级有效期开始时间
	 */
	public LocalDateTime getValidityBeginTime() {
		return validityBeginTime;
	}
  	
	/**
	 * 设置等级有效期开始时间
	 * 
	 * @param validityBeginTime 等级有效期开始时间
	 */
	public void setValidityBeginTime(LocalDateTime validityBeginTime) {
		this.validityBeginTime = validityBeginTime;
	}

	/**
	 * 获取等级有效期结束时间
	 * 
	 * @return validityEndTime 等级有效期结束时间
	 */
	public LocalDateTime getValidityEndTime() {
		return validityEndTime;
	}
  	
	/**
	 * 设置等级有效期结束时间
	 * 
	 * @param validityEndTime 等级有效期结束时间
	 */
	public void setValidityEndTime(LocalDateTime validityEndTime) {
		this.validityEndTime = validityEndTime;
	}

	/**
	 * 获取累积签到天数
	 * 
	 * @return signday 累积签到天数
	 */
	public Integer getSignday() {
		return signday;
	}
  	
	/**
	 * 设置累积签到天数
	 * 
	 * @param signday 累积签到天数
	 */
	public void setSignday(Integer signday) {
		this.signday = signday;
	}

	/**
	 * 获取粉丝数
	 * 
	 * @return fansNum 粉丝数
	 */
	public Integer getFansNum() {
		return fansNum;
	}
  	
	/**
	 * 设置粉丝数
	 * 
	 * @param fansNum 粉丝数
	 */
	public void setFansNum(Integer fansNum) {
		this.fansNum = fansNum;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取版本号
	 * 
	 * @return version 版本号
	 */
	public Integer getVersion() {
		return version;
	}
  	
	/**
	 * 设置版本号
	 * 
	 * @param version 版本号
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}

    public String toString() {
		return new StringBuilder().append("DistrictMemberEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",memberId=").append(memberId).
			append(",memPoints=").append(memPoints).
			append(",cumulativePoints=").append(cumulativePoints).
			append(",onlinePoints=").append(onlinePoints).
			append(",totalPoints=").append(totalPoints).
			append(",memLevel=").append(memLevel).
			append(",validityBeginTime=").append(validityBeginTime).
			append(",validityEndTime=").append(validityEndTime).
			append(",signday=").append(signday).
			append(",fansNum=").append(fansNum).
			append(",createdTime=").append(createdTime).
			append(",modifiedTime=").append(modifiedTime).
			append(",version=").append(version).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public DistrictMemberEntity copy() {
		return new DistrictMemberEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 商圈ID */
	public static final String COL_BUSD_ID = "busd_id";

    /** 会员ID */
	public static final String COL_MEMBER_ID = "member_id";

    /** 会员积分 */
	public static final String COL_MEM_POINTS = "mem_points";

    /** 线下累计积分 */
	public static final String COL_CUMULATIVE_POINTS = "cumulative_points";

    /** 线上累计积分 */
	public static final String COL_ONLINE_POINTS = "online_points";

    /** 总积分 */
	public static final String COL_TOTAL_POINTS = "total_points";

    /** 会员等级 */
	public static final String COL_MEM_LEVEL = "mem_level";

    /** 等级有效期开始时间 */
	public static final String COL_VALIDITY_BEGIN_TIME = "validity_begin_time";

    /** 等级有效期结束时间 */
	public static final String COL_VALIDITY_END_TIME = "validity_end_time";

    /** 累积签到天数 */
	public static final String COL_SIGNDAY = "signDay";

    /** 粉丝数 */
	public static final String COL_FANS_NUM = "fans_num";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /** 版本号 */
	public static final String COL_VERSION = "version";
}
